package com.jack;

public class MidletException extends RuntimeException {

    private String errorMsg;

    public MidletException(String msg) {
        this.errorMsg = msg;
    }

    public void printStackTrace() {
        System.err.println("error: " + this.errorMsg);
    }
}
